﻿using System;

namespace MessagePack.Decoders
{
	// Token: 0x020000D5 RID: 213
	internal class FixExt1Header : IExtHeaderDecoder
	{
		// Token: 0x06000322 RID: 802 RVA: 0x0000C1BB File Offset: 0x0000A5BB
		private FixExt1Header()
		{
		}

		// Token: 0x06000323 RID: 803 RVA: 0x0000C1C4 File Offset: 0x0000A5C4
		public ExtensionHeader Read(byte[] bytes, int offset, out int readSize)
		{
			readSize = 2;
			sbyte typeCode = (sbyte)bytes[offset + 1];
			return new ExtensionHeader(typeCode, 1U);
		}

		// Token: 0x040000F0 RID: 240
		internal static readonly IExtHeaderDecoder Instance = new FixExt1Header();
	}
}
